package com.example.high_slope_electronic_sand_table.deviceStatus.dto;

import com.example.high_slope_electronic_sand_table.common.config.CustomFloatSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "雷达设备状态信息")
public class RadarDeviceStatusDTO {
//    @Schema(description = "设备id")
//    private String deviceId;
    @Schema(description = "形变测量精度")
    private String deformationMeasurementAccuracy;
    @Schema(description = "数据变更频率")
    private Integer dataChangeFrequency;
    @Schema(description = "最大探测距离")
    private String maximumDetectableRange;
    @Schema(description = "监测范围")
    private String monitorRange;
    @Schema(description = "雷达总功耗")
    private String totalRadarPowerConsumption;
    @Schema(description = "防护能力")
    private String protectiveCapability;
    @Schema(description = "工作温度")
    @JsonSerialize(using = CustomFloatSerializer.class)
    private Float operatingTemperature;
    @Schema(description = "雷达尺寸")
    private String radarSize;
    @Schema(description = "网络")
    private String network;
    @Schema(description = "重量")
    private String weight;
    @Schema(description = "上报时间")
    private String datetime;
}